'''
* This is the projet for Brtc LlmOps Platform
* @Author Leon-liao <liaosiliang@alltman.com>
* @Description //TODO 
* @File: 1_study_text_loader.py
* @Time: 2025/8/20
* @All Rights Reserve By Brtc
'''
from langchain_community.document_loaders import TextLoader

loader = TextLoader("./eshop_goods.txt", encoding="utf-8")

documents = loader.load()

print(documents)
print(len(documents))
print(documents[0].metadata)